package com.hkts.naturalgasauthentication.base.dao;

import com.hkts.naturalgasauthentication.base.entity.HontUserPost;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HontUserPostDao extends JpaRepository<HontUserPost, Integer> {

    List<HontUserPost> findByHontUserId(String userId);

    void deleteByHontUserId(String userId);
}
